GET api/IQTimecard/GetAllClientsJsonAreaSync/{clientAbbrev}?dateUpdated={dateUpdated}&areaIDs[0]={areaIDs[0]}&areaIDs[1]={areaIDs[1]}

Gets a list of clients in JSON format.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientAbbrev

This should be a part of the URL, not as a query parameter.

string

Required

dateUpdated

The date the clients were last updated as a query parameter.

date

Required

areaIDs

Mandatory, limits the results to clients within that area.

Collection of integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns a list of Clients in JSON format if all goes well. If the clientAbbrev cannot be found with an associated connection string, returns 400 - Bad Request. If there are no clients to be found, it returns 204 - No content. Returns 500 if something else goes wrong.

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.